﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OauthProvider
{
    [Serializable]
    public class TokenBase : IToken
    {
        public string TokenSecret { get; set; }

        public string Token { get; set; }

        public string ConsumerKey { get; set; }

        public string Realm { get; set; }

        public override string ToString()
        {
            return UriUtility.FormatTokenForResponse(this);
        }

        public virtual void SaveToken()
        {          
        }
    }
}
